package kr.saeildamil.androidstudy_second.animator;

import kr.saeildamil.androidstudy_second.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

public class BallAnim extends Activity {
	AnimView mView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch24_valueanimator);
		
		LinearLayout root = (LinearLayout) findViewById(R.id.ch24_ballanim_root);
		mView = new AnimView(this);
		root.addView(mView);
		
	}
	
	public void mOnClick(View v){
		mView.startAnim();
	}
}
